# -*- coding:utf-8 -*-

__author__ = 'ghostviper'

from celery import Celery
from celery import platforms

app = Celery()
app.config_from_object('celeryconfig')
app.conf.timezone = 'Asia/Shanghai'
app.conf.mongodb_backend_settings = {
    "host": "127.0.0.1",
    "port": 27017,
    "database": "kmxxg",
    "taskmeta_collection": "news",
}
platforms.C_FORCE_ROOT = True
